package view;

import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JTextArea;

@SuppressWarnings("serial")
public class DefaultTab extends JPanel {
	
	private JTextArea presentation;
	
	public DefaultTab() {
		initComponents();
	}
	
	private void initComponents()
	{
		String welcomeTxt = "Click on a contact in the list aside to open a new discussion\n";
		
		presentation = new JTextArea(welcomeTxt);
		presentation.setEditable(false);
		
		//presentation.setPreferredSize(new Dimension(400, 80));
		
		this.setLayout(new BorderLayout());
		
		this.add(presentation, BorderLayout.CENTER);
	}
}
